package com.study.demo.ui.thread.recommend;


import com.stduy.ui.BasePresenter;
import com.stduy.ui.BaseView;
import com.study.demo.db.CustomThread;

import java.util.List;


/**
 * Created by sll on 2016/5/11.
 */
public interface RecommendThreadListContract {
    interface View extends BaseView {

        void showLoading();

        void showContent();

        void renderThreads(List<CustomThread> threads);

        void onError(String error);

        void onEmpty();

        void onLoadCompleted(boolean hasMore);

        void onRefreshCompleted();
    }

    interface Presenter extends BasePresenter<View> {
        void onThreadReceive();

        void onRefresh();

        void onReload();

        void onLoadMore();
    }
}
